package vn.vfriends.vcms.site.service;

import java.io.Serializable;
import java.util.List;
import vn.vfriends.vcms.site.model.Category;
import vn.vfriends.vcms.site.model.Item;

/**
 *
 * @author tuan@vfriends.vn
 */
public interface ItemService extends Serializable {

    public List<Item> findItems();
    
    public List<Item> findItems(int maxResults, int firstResult);
    
    public List<Item> findItems(Category category, int maxResults, int firstResult);
    
    public Item findItem(Long id);
    
    public int getItemCount();
    
    public int getPublishedItemCount(Category category);
}
